<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"> 
      <ui:composition template="/template.xhtml">
      	<ui:define name="content">
      		<div class="simpleInput">	
				<h:form rendered="#{authenticatorBean.admin}">
					<h:panelGrid>
						<h:outputText value="Descrição:" />
						<h:inputText value="#{itemBean.productDescription}" required="true" size="20"/>
						
						<h:outputText value="Valor inicial:" />
						<h:inputText value="#{itemBean.initialOffer}" required="true" size="20"/>
						
						<h:commandButton action="#{itemBean.save}" value="Abrir leilão" />
					</h:panelGrid>
				</h:form>
			</div>
	     </ui:define>
      </ui:composition>
</html>
